﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace deviceManage.Models
{
    /// <summary>
    /// 运维合同
    /// </summary>
    public partial class ServiceContract
    {
        public ServiceContract()
        {
            Device = new HashSet<Device>();
            
        }
          
        public string Id { get; set; }
        public string Title { get; set; }
        public string Boss { get; set; }
        public string Employee { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public decimal? Amount { get; set; }
        public string Addr { get; set; }
        public byte[] SendUsers { get; set; }
        public int? ServiceCountLimit { get; set; }
        public decimal? DonePercent { get; set; }
        public DateTime? CreateDate { get; set; }
        public byte[] CreateUserId { get; set; }
        public int Deleted { get; set; } 
        public string DeviceTypeId{ get; set; }

         
        public virtual DeviceType DeviceType { get; set; }

        public ICollection<Device> Device { get; set; }

    }
}
